<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/6/22 0022
 * Time: 上午 11:50
 */

namespace app\common\model;


use think\Model;

class Group extends Model
{
    protected $table = "t_auth_group";

    public function getStatusAttr($value)
    {
        $status = [0=>'<span style="color: red;">禁用</span>',1=>'<span style="color: #4fc3ff;">正常</span>'];
        return $status[$value];
    }

}